package com.gyc.demo.lambdas;

/**
 * @author gyc
 * @date 2018/1/23
 */
public class TestOne {
    public  void testlambda1(){
        /*原型
        new Thread(new Runnable() {
            @Override
            public void run() {

            }
        }).start();*/
//        lambda表达式
        new Thread(() -> {

        }).start();
    }

}
